package com.hfuuTaf.service.implement;

import com.hfuuTaf.mapper.membersMapper;
import com.hfuuTaf.pojo.members;
import com.hfuuTaf.service.membersService;
import org.springframework.stereotype.Service;

import java.util.List;
/**
 * 俱乐部成员
 */
@Service
public class membersServiceImpl implements membersService {
    private final membersMapper membersMapper;

    public membersServiceImpl(membersMapper membersMapper) {
        this.membersMapper = membersMapper;
    }

    @Override
    public List<members> queryAll() {
        return membersMapper.queryAll();
    }
}
